// flags for cl_exit (name of functions)
#define ADD_FILES 1
#define FUNC_INI 2
#define LISTING_FILE 3
#define OPEN_ARC 4
#define TESTING 5
#define COPY_ARC 6
#define COPY 7
#define CLEAN_FILE 8
#define MAKE_FILE_HEAD 9
#define INT_WRITE 10
#define WRITE_TO_ARC 11
#define EXTR_FILE_KER 12
#define DEL_FILE 13
#define HUF_TREE_INIT 14
#define MAKE_HUF_TREE 15
#define PASTE 16
#define EXTR_FILE_UI 17
#define STR_WRITE 19
#define STRING_TO_HUFFTREE 20
#define PRINT 21
#define SORT_HUFTREE 22
#define COMPRESS 23
#define MAKE_TABLES 24
#define HUFFTREE_TO_STRING 25
#define MAKE_ARR_HUFFTREE 26
#define DECOMPRESS 27


//Code of error
#define SIGN_ERR 1
#define MEMORY_ERR 2
#define ARC_IWRITE 3
#define OPEN_FILE_ERR 4
#define OPEN_ERR 5
#define READ_ERR 6
#define WRITE_ERR 7
#define WRITE_ERR2 8
#define CS_ERR 9
#define ARC_TO_ARC 10
#define ERR_ARC_DEL 11
#define ERR_TMP_ARC_REN 12
#define ERR_ARC_REN 13
#define ERR_FILE_REN 14
#define ERR_NULL_STR 15
#define ERR_REPL_OLD_FILE 16
#define ERR_ARC_OPEN 17
#define COPY_ERR 18
#define ERR_NAME_ARC 19
#define INCORRECT_DATA 20